package com.chixing.day14_map;

import java.time.LocalDate;

public class Student {
    private int stuId;
    private String stuName;
    private String stuMajor;
    private int stuAge;
    private LocalDate stuTime;

    public Student(){}
    public Student(int stuId, String stuName, String stuMajor, int stuAge, LocalDate stuTime) {
        this.stuId = stuId;
        this.stuName = stuName;
        this.stuMajor = stuMajor;
        this.stuAge = stuAge;
        this.stuTime = stuTime;
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getStuName() {
        return stuName;
    }

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuMajor() {
        return stuMajor;
    }

    public void setStuMajor(String stuMajor) {
        this.stuMajor = stuMajor;
    }

    public int getStuAge() {
        return stuAge;
    }

    public void setStuAge(int stuAge) {
        this.stuAge = stuAge;
    }

    public LocalDate getStuTime() {
        return stuTime;
    }

    public void setStuTime(LocalDate stuTime) {
        this.stuTime = stuTime;
    }

    @Override
    public String toString() {
        return "Student{" +
                "stuId=" + stuId +
                ", stuName='" + stuName + '\'' +
                ", stuMajor='" + stuMajor + '\'' +
                ", stuAge=" + stuAge +
                ", stuTime=" + stuTime +
                '}';
    }
}
